import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/tjzy/work/` + url, ...arg)
export default {
	workPage(data) {
		return request('pageList', data, 'post')
	},
	autoAddByCaseId(data) {
		return request('autoAddByCaseId', data, 'post')
	},
	addWork(data) {
		return request('add', data, 'post')
	},
	editWork(data) {
		return request('edit', data, 'post')
	},
	deleteWork(data) {
		return request('delete', data)
	},
	addWordBySms(data) {
		return request('addWordBySms', data,'post')
	}
}
